<template>
    <div class="cascadeselection-outer-box">
        <div class="block">
            <el-cascader :options="options" :show-all-levels="false" @change="handleChange" :placeholder="placeholderVar">
            </el-cascader>
        </div>
    </div>
</template>

<script>
export default {
  data() {
    return {
      selectedValue:""
    };
  },
  props:{
    options:{
      type:Array
    },
    placeholderVar:{
      type:String
    }
  },
  methods: {
    handleChange(value) {
      this.$emit("returnSelectionFuc",value); 
    }
  }
};
</script>
<style lang='less'>
@import url(../assets/css/cascadeselection.less);
</style>


